import request from "@/utils/request";
export const getAll=(warehouseAreaName,warehouseName,page,pageSize)=>request.get(`/warehouseAreaLocal/list?warehouseAreaName=${warehouseAreaName}&warehouseName=${warehouseName}&page=${page}&pageSize=${pageSize}`)
export const addApi=(data)=>request.post('/warehouseAreaLocal/add',data)
export const queryByIdApi=(id)=>request.get(`/warehouseAreaLocal/${id}`)
export const updateApi=(data)=>request.put('/warehouseAreaLocal',data)
export const deleteApi=(id)=>request.delete(`/warehouseAreaLocal?id=${id}`)
